1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00

use jemalloc

This commit is contained in:
Robin Appelman 2019-08-29 22:28:38 +02:00
commit 8e39a1ed50
5 changed files with 36 additions and 5 deletions

View file

@ -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();