Note about slower performance of console writing in kmain() vs kearly()
This commit is contained in:
parent
14b7750b28
commit
069ce17238
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ kmain()
|
|||
console.clear(kernel::Console::Color::Blue);
|
||||
console.writeString("Hello world!\n");
|
||||
|
||||
// TODO: The performance of this loop slowed down a *lot* (7-8 orders of magnitude according to the busy loop) when I moved this code from kearly() to here. I wonder if it has something to do with object initialization? Should probably investigate some.
|
||||
volatile int foo = 0;
|
||||
int j = 0;
|
||||
int i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue