Michael Cook (mackal)
9488ee1e8c
[Bug Fix] Remove StringUtilTest::EscapeStringMemoryTest ( #2310 )
...
This was testing the old std::string EscapeString(const char *src,
size_t sz) which was removed since it's not used anywhere else.
2022-07-14 19:47:58 -05:00
Chris Miles
dfd8f84cac
[Strings] Refactor Strings Usage ( #2305 )
...
* Initial commit checkpoint
* More functions converted
* Commify
* More functions
* Fin
* Sort declarations
* Split functions between files
* Bots
* Update strings.h
* Split
* Revert find replaces
* Repository template
* Money
* Misc function
* Update CMakeLists.txt
* Saylink
* Update strings.cpp
* Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database
* API casings
2022-07-14 02:10:52 -05:00
Michael Cook (mackal)
dba3010c89
[Strings] Split String Optimizations ( #1325 )
...
* Switch the 2 split calls to SplitString
* Nuke duplicate split in favor of SplitString #1263
* Add a test for SplitString
* Optimize SplitString
Benchmarking:
--------------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------------
bench_oldsplit 5201 ns 5201 ns 129500
bench_split 1269 ns 1269 ns 548906
This is splitting a VERY long SpecialAbilities string. This is ~75%
speed up.
2021-04-22 23:36:39 -05:00
Michael Cook (mackal)
74ce20b256
Add string util search_deliminated_string ( #1260 )
...
This function takes a string of deliminated an see if another string is
one of those
This function also verifies it's not finding a substring
2021-02-23 11:52:34 -06:00
KimLS
0d12715d77
Data verification utils, not in use yet. Also added ability for lua packet to bypass the translation layer (dangerous) if a writer so desires (useful for quickly trying packet stuff)
2014-09-24 03:58:46 -07:00
KimLS
70d5983562
Added eqemu::any
2014-08-25 22:31:02 -07:00
KimLS
a612c3c006
Idiot kls missed a file
2014-08-24 16:30:02 -07:00