Sunday, May 28, 2023

curses on linux

 


in case of you have no curses library installed, use 


sudo apt-get install libncurses5-dev


and then compile source code like down below.


cc -o sizeterm sizeterm.c -lncurses


Tuesday, May 23, 2023

Linux : find

 find /usr/bin -name "ch*"


not like find/usr/bin -name ch*



// search a file based on the size.

find . -size -600c -ls  // less than 600bytes

find . -size +600c -ls // greater than 600bytes

find . -size 600c -ls // 600 bytes


b -> block

c -> bytes

k -> killo

w -> word



Monday, May 15, 2023

Performance Mantras

Don't do it.
Do it, but don't do it again.
Do it less.
Do it later.
Do it when they're not looking.
Do it concurrently.
Do it more cheaply.

Thursday, May 11, 2023

Wednesday, May 10, 2023

BloomFilter

Note : BloomFilter in this article is not about rendering filter


False Positive

https://terms.naver.com/entry.naver?docId=862393&cid=50371&categoryId=50371


Good Articles

https://brilliant.org/wiki/bloom-filter/

https://www.youtube.com/watch?v=V3pzxngeLqw

https://llimllib.github.io/bloomfilter-tutorial/




Sorted String Table : SStable

 https://www.igvita.com/2012/02/06/sstable-and-log-structured-storage-leveldb/

Task in UnrealEngine

 https://www.youtube.com/watch?v=1lBadANnJaw