From 6b6fac209c97d5961ea875d4b22f66fa97272876 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 26 Jul 2018 23:21:10 -0400 Subject: Optimize compile time by using asm. Switches to using asm incbin to embed the V8 snapshot instead of outputing C code and then compiling it. Compile time for from_snapshot.o goes from 44s to 1s. --- src/file_util.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/file_util.h') diff --git a/src/file_util.h b/src/file_util.h index bba512c0d..c8c0e5759 100644 --- a/src/file_util.h +++ b/src/file_util.h @@ -7,7 +7,6 @@ namespace deno { bool ReadFileToString(const char* fn, std::string* contents); std::string Basename(std::string const& filename); -std::string BinaryContentAsC(const char* name, const std::string& data); } // namespace deno #endif // FILE_UTIL_H_ -- cgit v1.2.3