mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
use jemalloc
This commit is contained in:
parent
6636eb4a93
commit
8e39a1ed50
5 changed files with 36 additions and 5 deletions
|
|
@ -3,6 +3,11 @@ use std::fs;
|
|||
|
||||
pub use tf_demo_parser::{Demo, DemoParser, Parse, ParseError, ParserState, Result, Stream};
|
||||
|
||||
extern crate jemallocator;
|
||||
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
fn main() -> std::result::Result<(), Box<ParseError>> {
|
||||
better_panic::install();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue