mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
Put fish on a diet. Tracked down the biggest memory hogs and fixed them. Total allocations down by a factor of 3 or so, live allocations a few KB.
This commit is contained in:
@@ -1331,7 +1331,7 @@ static void highlight_universal_internal( const wcstring &buffstr,
|
||||
*/
|
||||
if( (buffstr.at(pos) == L'\'') || (buffstr.at(pos) == L'\"') )
|
||||
{
|
||||
std::deque<long> lst;
|
||||
std::vector<long> lst;
|
||||
|
||||
int level=0;
|
||||
wchar_t prev_q=0;
|
||||
|
||||
Reference in New Issue
Block a user