摘要: 最近在开发 Pinpoint .Net 客户端,和服务端通信都是通过 TCP 或者 UDP,需要处理大量的 Byte 数据,使用 .Net Framework 只能通过 new Byte[] 的方式申请内存。客户端每秒钟处理的数据包非常多,通过这样方式容易导致应用程序池频繁进行 GC。刚好在Micr 阅读全文
posted @ 2017-07-27 23:10 無限の剣製 阅读(345) 评论(0) 推荐(0)
摘要: 1. 正在某个分支进行开发,突然有个紧急BUG需要切换到其他分支进行修复? 2. 提交了N个版本后发现代码有问题,想重置代码到某个版本? 3. 重置代码到某个版本,不小把有用的提交也重置? 4. 不小心清空了贮藏的修改(贮藏也要好好写备注喔(●'◡'●),不然想搜索也难) git fsck --lo 阅读全文
posted @ 2017-05-16 23:57 無限の剣製 阅读(253) 评论(0) 推荐(0)
摘要: 题目: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexit 阅读全文
posted @ 2017-04-16 14:52 無限の剣製 阅读(110) 评论(0) 推荐(0)
摘要: 题目: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the 阅读全文
posted @ 2017-04-16 14:42 無限の剣製 阅读(96) 评论(0) 推荐(0)
摘要: 题目: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes co 阅读全文
posted @ 2017-04-16 14:29 無限の剣製 阅读(103) 评论(0) 推荐(0)
摘要: 题目: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would hav 阅读全文
posted @ 2017-04-16 14:15 無限の剣製 阅读(122) 评论(0) 推荐(0)