Daniel Alley

Results 427 comments of Daniel Alley

Also potentially addressing https://github.com/joerick/pyinstrument/issues/83

Define "verify the sanity"? I have a tool that runs some checks, I don't know if those checks overlap with what you're looking for. https://copr.fedorainfracloud.org/coprs/dalley/rpmrepo/ https://github.com/dralley/rpmrepo

So.. does that just mean the metadata checksums are correct and that the data is parse-able, or that semantically there are no issues like missing dependencies? I see some stuff...

That would be effectively the same as `simdutf8::compat::from_utf8(value).and_then(|s| s.to_owned())`, yes? Note that there was some discussion in the past about putting it in the standard library directly: https://www.reddit.com/r/rust/comments/mvc6o5/incredibly_fast_utf8_validation/

Since this indeed did happen, I think it can probably be closed now!

Hey, so, originally I had tried `json_stream.to_standard_types()` on `data` (in the above example) and obviously that didn't work because it converted the whole json back to a list, which isn't...

FYI, it might have helped if the documentation included an example of iterating over the top-level document this way, initially we thought this library wouldn't work because in the documentation...

I can confirm that the inlining improves the performance in practice R5 3600 ``` [dalley@localhost quick-xml]$ critcmp jetscii jetscii-fixed --filter escape group jetscii jetscii-fixed ----- ------- ------------- escape_text/escaped_chars_long 1.34 401.6±2.72ns...

@Dr-Emann https://github.com/shepmaster/jetscii/actions/runs/6537761959/job/17752265432?pr=57#step:3:199