blob: 442159eb4f615c4de1444467b0035204b94a6548 [file] [log] [blame]
Paul Sokolovsky1060baa2014-11-01 16:01:21 +02001/*
Alexander Steffen55f33242017-06-30 09:22:17 +02002 * This file is part of the MicroPython project, http://micropython.org/
Paul Sokolovsky1060baa2014-11-01 16:01:21 +02003 *
4 * The MIT License (MIT)
5 *
6 * Copyright (c) 2013, 2014 Damien P. George
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26
27// This config file is intended to configure artificially fast uPy build for
28// synthetic benchmarking, at the expense of features supported and memory
29// usage. This config is not intended to be used in production.
30
31#include <mpconfigport.h>
32#define MICROPY_PY___FILE__ (0)
Paul Sokolovsky346aacf2014-11-05 00:27:15 +020033// 91 is a magic number proposed by @dpgeorge, which make pystone run ~ at tie
34// with CPython 3.4.
35#define MICROPY_MODULE_DICT_SIZE (91)
Paul Sokolovsky94567322015-06-02 01:32:07 +030036
37// Don't include builtin upip, as this build is again intended just for
38// synthetic benchmarking
Damien George0a2e9652016-01-31 22:24:16 +000039#undef MICROPY_MODULE_FROZEN_STR
40#define MICROPY_MODULE_FROZEN_STR (0)