Luke Petherbridge

Results 56 comments of Luke Petherbridge

I'm not sure any amount of wrapping would help. I've tried various iterations - the core of the issue is that during the `Resumed` event you need to call several...

That would be great! I also discovered during this development that chrome panics sometimes on page refresh with a BorrowMutError inside set_listener that didn't happen prior to initializing wgpu on...

On Web targets, async with wgpu is extra problematic as `wasm_bindgen_futures::spawn_local` doesn't support returning any results so it's not clear how to get the resolved futures back to the main...

It'd be nice if there was a convenient way to opt in to something like `Cow

> Another approach is to potentially have a "string manager" that is used across all layout calls, and that manager can yield identifiers which are stored in `RichText`/`LayoutJob` (so those...

> It's a fairly straightforward change! [master...afranchuk:egui:string-manager](https://github.com/emilk/egui/compare/master...afranchuk:egui:string-manager) Indeed it is! Looks great and seems like a design could be compatible with a typed arena for strings. Why the char iterator...

@Mergifyio update

Thanks for reporting! I can definitely see some areas for improvement.

@mantou132 Would you mind giving more details on your results like which browser and OS? I'm getting 50-60% CPU usage on `nes-rust` as well on Chrome 102.0.5005.115 on macOS Catalina...

Thanks! I'll take a deeper look. I'm working on several performance elements right now even for the native version so hopefully that will be out soon. TetaNES is meant to...