Maxime Coste
|
263ef0b149
|
Get rid of SharedString
|
2016-02-05 09:38:33 +00:00 |
|
Maxime Coste
|
f2dac6ca15
|
Small cleanup
|
2016-01-28 20:29:10 +00:00 |
|
Maxime Coste
|
c77cb7c777
|
Extract WordDB::RankedWord as RankedMatch in its own file
|
2015-10-22 19:49:08 +01:00 |
|
Maxime Coste
|
019b3235b0
|
Remove legacy WordDB::find_matching method
|
2015-10-21 20:16:36 +01:00 |
|
Maxime Coste
|
4f2584a091
|
Experiment with ranked word completion depending on word boundaries
|
2015-10-18 16:55:21 +01:00 |
|
Maxime Coste
|
a0cf75ec39
|
Tweak WordDB implementation
|
2015-03-10 13:50:25 +00:00 |
|
Maxime Coste
|
0eca3b5526
|
Use StringDataPtr alias for RefPtr<StringData>
|
2015-03-01 12:06:19 +00:00 |
|
Maxime Coste
|
98972c18b7
|
rename StringStorage to StringData
|
2015-03-01 12:03:08 +00:00 |
|
Maxime Coste
|
8df77121d7
|
Rename safe_ptr and ref_ptr to SafePtr and RefPtr
|
2015-02-19 13:58:25 +00:00 |
|
Maxime Coste
|
cc699faa54
|
Store direct ref_ptr<StringStorage> for WordDB lines
Storing a SharedString is a waste, we want the whole line.
|
2015-01-27 13:12:52 +00:00 |
|
Maxime Coste
|
8eef019cf8
|
Do not store lines to word in word db, just keep the old lines alive
|
2015-01-15 19:26:38 +00:00 |
|
Maxime Coste
|
76d806e98d
|
Replace InternedStrings with SharedString, shared_ptr based
|
2015-01-15 19:26:38 +00:00 |
|
Maxime Coste
|
61619a4d4d
|
Style tweak in WordDB
|
2015-01-13 13:57:44 +00:00 |
|
Maxime Coste
|
da562e03a0
|
replace all std::vector with Vector
|
2015-01-12 13:58:41 +00:00 |
|
Maxime Coste
|
dedb16bc73
|
Track some more memory
|
2015-01-11 19:28:03 +00:00 |
|
Maxime Coste
|
9b30e7469a
|
Add initial memory domain allocation tracking support
|
2015-01-07 19:29:31 +00:00 |
|
Maxime Coste
|
2852e0fbe5
|
Remove trailing blank lines
|
2014-12-23 23:00:20 +00:00 |
|
Maxime Coste
|
79de7ee717
|
Code refactoring in WordDB
|
2014-12-23 19:32:42 +00:00 |
|
Maxime Coste
|
ff1f4dcb5c
|
Minor cleanup
|
2014-12-22 20:08:53 +00:00 |
|
Maxime Coste
|
ebecd60eb8
|
Rework hashing, use a more extensible framework similar to n3876 proposal
std::hash specialization is a pain to work with, stop using that, and
just specialize a 'size_t hash_value(const T&)' free function.
|
2014-12-16 18:57:19 +00:00 |
|
Maxime Coste
|
fa886ffaac
|
Refactor word_db, use an unordered map
|
2014-10-28 19:23:02 +00:00 |
|
Maxime Coste
|
d55d041c6a
|
Add support for interned strings
Use interned strings for Modification contents and word database.
Interned strings are guaranteed not to move in memory and are
reference counted.
|
2014-10-01 00:20:12 +01:00 |
|
Maxime Coste
|
5fc063c520
|
Insert word completion: Use subsequence matching if prefix failed
|
2014-07-30 19:58:34 +01:00 |
|
Maxime Coste
|
2f1388df7b
|
replace LineChangeWatcher with a free function compute_line_modifications
|
2014-05-14 21:19:19 +01:00 |
|
Maxime Coste
|
389308dfd8
|
Preserve current word in word completion if found elsewhere
If occurence count in the buffer if greater that one, do not
remove it from the matches.
|
2014-04-22 19:32:12 +01:00 |
|
Maxime Coste
|
ad818853a2
|
WordDB now uses a LineChangeWatcher based implementation
|
2014-01-27 19:51:58 +00:00 |
|
Maxime Coste
|
f6eaaf1e78
|
WordDB: use an ordered map for storing words
This way we can use lower_bound to find the first prefix match
in logarithm time and we know all other prefix matches will
follow.
|
2014-01-19 19:43:19 +00:00 |
|
Maxime Coste
|
997aadd33f
|
Word completion use a WordDB stored as a buffer value.
|
2014-01-16 22:07:42 +00:00 |
|