Some optimizing changes in generateCross function.

We can use caching of generated AllWords.
This commit is contained in:
2015-06-16 10:51:46 +03:00
parent 83bdef4bfa
commit ef0efd652a
7 changed files with 25 additions and 36 deletions

View File

@@ -1,13 +1,4 @@
// -*- C++ -*-
//
// generated by wxGlade 0.6.8 on Wed May 20 12:40:03 2015
//
// Example for compiling a single file project under Linux using g++:
// g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp
//
// Example for compiling a multi file project under Linux using g++:
// g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp
//
#ifndef WXGUI_HPP
#define WXGUI_HPP
@@ -24,13 +15,6 @@
#endif
// begin wxGlade: ::dependencies
// end wxGlade
// begin wxGlade: ::extracode
// end wxGlade
class MainFrame: public wxFrame {
public:
// begin wxGlade: MainFrame::ids
@@ -48,6 +32,8 @@ protected:
std::vector<wxString> _words;
DictType _dict;
bool _isDictLoaded;
AllWordsType _allWords;
CharsTransType _transType;
// begin wxGlade: MainFrame::attributes
wxStaticText* label_1;
wxTextCtrl* tPath;