Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^5: [challenge] Nested autocompletion -- fixed win32 version

by Discipulus (Canon)
on Feb 23, 2023 at 09:33 UTC ( [id://11150546] : note . print w/replies, xml ) Need Help??

in reply to Re^4: [challenge] Nested autocompletion -- fixed win32 version
in thread [challenge] Nested autocompletion

> No, No, No, that's horrible :(

yes ReadKey -1 on linux consumed almost all my cpu while with 0 cpu usage is minimal. On win32 with -1 the task manager shows only a ~5% of cpu, but I suspect other cpu cycles, another ~5%', are consumend inside 'conhost.exe and somewhere else: infact the overall cpu usage raised around 35%

Unfortunately I'm not in the postion to apply the win32 definitive fix :)


There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.