mirror of https://github.com/explosion/spaCy.git
Remove profile=True from currently profiled cython
This commit is contained in:
parent
55614d6799
commit
538304948e
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True
|
||||
# cython: infer_types=True
|
||||
|
||||
from typing import Iterable
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True
|
||||
# cython: infer_types=True
|
||||
|
||||
from pathlib import Path
|
||||
from typing import Iterable, Tuple, Union
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True
|
||||
# cython: infer_types=True
|
||||
from typing import Any, Callable, Dict, Iterable
|
||||
|
||||
import srsly
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True
|
||||
# cython: infer_types=True
|
||||
import warnings
|
||||
from collections import defaultdict
|
||||
from itertools import product
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: profile=True, binding=True, infer_types=True
|
||||
# cython: binding=True, infer_types=True
|
||||
from cpython.object cimport PyObject
|
||||
from libc.stdint cimport int64_t
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: binding=True, infer_types=True, profile=True
|
||||
# cython: binding=True, infer_types=True
|
||||
from typing import Iterable, List
|
||||
|
||||
from cymem.cymem cimport Pool
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True
|
||||
# cython: infer_types=True
|
||||
from preshed.maps cimport map_clear, map_get, map_init, map_iter, map_set
|
||||
|
||||
import warnings
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# cython: infer_types=True
|
||||
# cython: profile=True
|
||||
import numpy
|
||||
|
||||
from thinc.extra.search cimport Beam
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: profile=True, cdivision=True, infer_types=True
|
||||
# cython: cdivision=True, infer_types=True
|
||||
from cymem.cymem cimport Address, Pool
|
||||
from libc.stdint cimport int32_t
|
||||
from libcpp.vector cimport vector
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: profile=True, infer_types=True
|
||||
# cython: infer_types=True
|
||||
"""Implements the projectivize/deprojectivize mechanism in Nivre & Nilsson 2005
|
||||
for doing pseudo-projective parsing implementation uses the HEAD decoration
|
||||
scheme.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from collections import defaultdict
|
||||
from typing import Callable, Optional
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from itertools import islice
|
||||
from typing import Callable, Dict, Optional, Union
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from typing import Optional
|
||||
|
||||
import numpy
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from collections import defaultdict
|
||||
from typing import Callable, Optional
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
import warnings
|
||||
from typing import Callable, Dict, Iterable, Iterator, Tuple, Union
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from typing import Callable, List, Optional
|
||||
|
||||
import srsly
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from itertools import islice
|
||||
from typing import Callable, Optional
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from itertools import islice
|
||||
from typing import Callable, Optional
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from typing import Callable, Dict, Iterable, Iterator, Optional, Tuple
|
||||
|
||||
import srsly
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: embedsignature=True, profile=True, binding=True
|
||||
# cython: embedsignature=True, binding=True
|
||||
cimport cython
|
||||
from cymem.cymem cimport Pool
|
||||
from cython.operator cimport dereference as deref
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, bounds_check=False, profile=True
|
||||
# cython: infer_types=True, bounds_check=False
|
||||
from cymem.cymem cimport Pool
|
||||
from libc.string cimport memset
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, bounds_check=False, profile=True
|
||||
# cython: infer_types=True, bounds_check=False
|
||||
from typing import Set
|
||||
|
||||
cimport cython
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# cython: infer_types=True, profile=True, binding=True
|
||||
# cython: infer_types=True, binding=True
|
||||
from typing import Callable
|
||||
|
||||
from cython.operator cimport dereference as deref
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# cython: profile=True
|
||||
import functools
|
||||
|
||||
import numpy
|
||||
|
|
Loading…
Reference in New Issue