The trivial-jumptables Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The trivial-jumptables Reference Manual

This is the trivial-jumptables Reference Manual, version 1.0, generated automatically by Declt version 2.4 patchlevel 1 "Will Decker" on Mon Apr 08 15:11:34 2019 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Project's home: https://www.hexstreamsoft.com/libraries/trivial-jumptables/


trivial-jumptables provides efficient O(1) jumptables on supported
Common Lisp implementations and falls back to O(log(n)) on others.


This library is in the Public Domain.
See the UNLICENSE file for details.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 trivial-jumptables

Author

Jean-Philippe Paradis <hexstream@hexstreamsoft.com>

License

Public Domain

Description

Provides efficient O(1) jumptables on supported Common Lisp implementations and falls back to O(log(n)) on others.

Version

1.0

Source

trivial-jumptables.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 trivial-jumptables.asd

Location

trivial-jumptables.asd

Systems

trivial-jumptables (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 trivial-jumptables/package.lisp

Parent

trivial-jumptables (system)

Location

package.lisp

Packages

trivial-jumptables


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 trivial-jumptables/optimizations.lisp

Dependency

package.lisp (file)

Parent

trivial-jumptables (system)

Location

optimizations.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.4 trivial-jumptables/main.lisp

Dependency

optimizations.lisp (file)

Parent

trivial-jumptables (system)

Location

main.lisp

Exported Definitions
Internal Definitions

*%initial-ejumpcase-expander* (special variable)


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 trivial-jumptables

Source

package.lisp (file)

Nickname

jumpcase

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *ejumpcase-expander*
Package

trivial-jumptables

Source

main.lisp (file)

Special Variable: *precompute-constant-index*
Package

trivial-jumptables

Source

optimizations.lisp (file)

Special Variable: *preselect-case*
Package

trivial-jumptables

Source

optimizations.lisp (file)

Special Variable: *type-annotate-index-form*
Package

trivial-jumptables

Source

main.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: ejumpcase INDEX &body CASES
Package

trivial-jumptables

Source

main.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: expand-ejumpcase-linear INDEX-FORM CASES CASE-COUNT
Package

trivial-jumptables

Source

main.lisp (file)

Function: expand-ejumpcase-logarithmic INDEX-FORM CASES CASE-COUNT
Package

trivial-jumptables

Source

main.lisp (file)

Function: make-standard-optimizations-wrapper EJUMPCASE-EXPANDER
Package

trivial-jumptables

Source

optimizations.lisp (file)

Function: maybe-type-annotate-index-form INDEX-FORM CASE-COUNT
Package

trivial-jumptables

Source

main.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Types

Type: index CASE-COUNT
Package

trivial-jumptables

Source

main.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *%initial-ejumpcase-expander*
Package

trivial-jumptables

Source

main.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: %maybe-precompute-index INDEX-FORM
Package

trivial-jumptables

Source

optimizations.lisp (file)

Function: %maybe-preselect-case-index INDEX-FORM CASE-COUNT
Package

trivial-jumptables

Source

optimizations.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   T  
Index Entry  Section

F
File, Lisp, trivial-jumptables.asd: The trivial-jumptables<dot>asd file
File, Lisp, trivial-jumptables/main.lisp: The trivial-jumptables/main<dot>lisp file
File, Lisp, trivial-jumptables/optimizations.lisp: The trivial-jumptables/optimizations<dot>lisp file
File, Lisp, trivial-jumptables/package.lisp: The trivial-jumptables/package<dot>lisp file

L
Lisp File, trivial-jumptables.asd: The trivial-jumptables<dot>asd file
Lisp File, trivial-jumptables/main.lisp: The trivial-jumptables/main<dot>lisp file
Lisp File, trivial-jumptables/optimizations.lisp: The trivial-jumptables/optimizations<dot>lisp file
Lisp File, trivial-jumptables/package.lisp: The trivial-jumptables/package<dot>lisp file

T
trivial-jumptables.asd: The trivial-jumptables<dot>asd file
trivial-jumptables/main.lisp: The trivial-jumptables/main<dot>lisp file
trivial-jumptables/optimizations.lisp: The trivial-jumptables/optimizations<dot>lisp file
trivial-jumptables/package.lisp: The trivial-jumptables/package<dot>lisp file

Jump to:   F   L   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %  
E   F   M  
Index Entry  Section

%
%maybe-precompute-index: Internal functions
%maybe-preselect-case-index: Internal functions

E
ejumpcase: Exported macros
expand-ejumpcase-linear: Exported functions
expand-ejumpcase-logarithmic: Exported functions

F
Function, %maybe-precompute-index: Internal functions
Function, %maybe-preselect-case-index: Internal functions
Function, expand-ejumpcase-linear: Exported functions
Function, expand-ejumpcase-logarithmic: Exported functions
Function, make-standard-optimizations-wrapper: Exported functions
Function, maybe-type-annotate-index-form: Exported functions

M
Macro, ejumpcase: Exported macros
make-standard-optimizations-wrapper: Exported functions
maybe-type-annotate-index-form: Exported functions

Jump to:   %  
E   F   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
S  
Index Entry  Section

*
*%initial-ejumpcase-expander*: Internal special variables
*ejumpcase-expander*: Exported special variables
*precompute-constant-index*: Exported special variables
*preselect-case*: Exported special variables
*type-annotate-index-form*: Exported special variables

S
Special Variable, *%initial-ejumpcase-expander*: Internal special variables
Special Variable, *ejumpcase-expander*: Exported special variables
Special Variable, *precompute-constant-index*: Exported special variables
Special Variable, *preselect-case*: Exported special variables
Special Variable, *type-annotate-index-form*: Exported special variables

Jump to:   *  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   I   P   S   T  
Index Entry  Section

I
index: Exported types

P
Package, trivial-jumptables: The trivial-jumptables package

S
System, trivial-jumptables: The trivial-jumptables system

T
trivial-jumptables: The trivial-jumptables system
trivial-jumptables: The trivial-jumptables package
Type, index: Exported types

Jump to:   I   P   S   T