erlang学习:用ETS和DETS存储数据2
今日学习创建一个ETS表 下面是代码实现 -module(lib_trigrams).-export([make_ets_set/0, make_ets_ordered_set/0]). for_each_trigram_in_the_english_language(F, A0) ->{ok, Bin0} file:read_file("test.txt"),Bin zlib:gunzip(Bin0),scan_word_list(binar…
2024-12-23